home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / etc / kernel / header_postinst.d / dkms next >
Text File  |  2009-07-29  |  317b  |  14 lines

  1. #!/bin/bash
  2.  
  3. # We're passed the version of the kernel being installed
  4. inst_kern=$1
  5.  
  6. if [ -x /etc/init.d/dkms_autoinstaller ]; then
  7.     if which invoke-rc.d >/dev/null 2>&1 ; then
  8.         invoke-rc.d dkms_autoinstaller start $inst_kern
  9.     else
  10.         /etc/init.d/dkms_autoinstaller start $inst_kern
  11.     fi
  12. fi
  13. exit 0
  14.